package edu.pk.mc.breakthebrick;

import android.provider.BaseColumns;

public abstract class SQLDemoContract {
	
	public static abstract class tables{
		public static abstract class HighScoreEntry implements BaseColumns {
			public static final String TABLE_NAME = "highscore";
			public static final String COLUMN_NAME_SCORE = "score";
		}		
	}
	public static abstract class commands{
		private static final String INT_TYPE=" INTEGER";
		private static final String COMMA_SEP = ",";
		public abstract class HighScoreEntry{			
			public static final String SQL_CREATE_ENTRIES =
					"CREATE TABLE " + SQLDemoContract.tables.HighScoreEntry.TABLE_NAME + " ( " +
							SQLDemoContract.tables.HighScoreEntry._ID + " INTEGER PRIMARY KEY  AUTOINCREMENT"
							 + COMMA_SEP +
							SQLDemoContract.tables.HighScoreEntry.COLUMN_NAME_SCORE + INT_TYPE +		
							" )";
		}
	}
}